Remove extraneous xml