fix some xml reader regressions