Fixes xml-replace and xml-3