revised vote method and changed spelling errors of messages.