fixing vote_table