correct the politefile writing process