fix xml formatter