#Fix the path bug when saving the record