fix params assignation