fixed 'vote only once' bug