fix find_path-bug