check if group is null