make sure that the grouping_value is there