remove extra xml declarations