fix cacheRef