Repair the path error