Fix bug with vote