fixing query :))