revert xmlreader change