format cleanup