remove unnecessary format cases