fix bad xml