modify routes to remove hash from url