fixed unit_tally