Removing spurious xml