fix transaction totals