workaround for lib-xml until lib-xml pull-request was not accepted