xml cleanup.