fix initialization of global tallies