get xpathcache to work