revert get_path.