smal changes to vote.cc