fix params error