bugfixes on final tallies