fix file format problem