remove extraneous xml again