fix diff information in file