check if group is nil