fixing query
fixing query