fix up copy file format error