path_to_location used for valueerrors