ensure default baseURL without query string and fragment