fix issue with cache deleting when uninstall