fixes problem with votes.