fix parms to params