Repair savePath problem