a little prefetching for get_path_parent