(bug) hopefully actually fixing query