fixing query params in url