added a bit to XML parsers