fixed vote bug