Fix plugin activation