fixed recordVote
try again