minor fix for voting handler