remove any location fragment for localstorage lookups