fixed xml formatter