remove unnecessary caches