fixed process request query statement