fix missing find_by_path_or_id