fixed all groups bug