fix xml formatting