fixing the cache