fixed voting to work