fix_parameters function

Fix the parameters of a <dist_spec>