fixing problem with plugin activation