simple fix in XML streaming