fixed always voting false bug