added support for cached node with transformed ancestors