not getting theQuery