fix LWXMLStreamWriter