add location.path instead of hash