Fixed improper totals