finish add group.