remove extra xml