fixing a couple of hard-to-track-down xml errors