remove the query