fixed duplicate votes