ensure there is always a '?' in the URL