try fixing wrong query