be sure only valid plugins get activated