clean out some orphaned XML nodes