removing the query that is now irrelevant