get rid of unnecessary format changes