fix an params position bug