fixed user query issue using in criteria