fixed error in votemodel line 19