bugfix to Tallies plugin