voting bug fix