fixes the cache clear problem for turning on/off all plugins