fix queryrunner