minor fixes to cache part2