ensure group is set