add error to input for vote