totals fix