fixed proper groups destruction