if the URL was '' then the address bar would not be updated