fixed the text file format