fix get params problem