don't append the empty query string to the url