fix format of the file