deactivation of groups is working properly