quick fix length of votes.vote in SQL