change formatter type