query url fix