Preventing warning when deactivating the plugin