fix for location hash in address bar