edited wrong query