remove activateMode from plugin initialization method