remove clean query from query to routes