fix up xml