fix vote math