fix param bug