fixed 'in' quary error