fix query param bug