undoing group by for incomemodel