vote error handling