remove redundant write format