fix bug with notify pluginActivated