fix vote api