validation on votes