fix evaluate
speed up decodeXml