fix initialization of tallies