fixed voting issue