fix broken xml