only set the group if it has not been set before