fix getting parent from cache. closes gh-378