fix vote-event example