roll back changes in path_to_location