fix in vote.js