Fix tab totals