modify the formats of some lines