fix get params bug