fix vote problem