Fixed the connections for groups.