cleanup subtotals by row