correcting user query