fix some vote bug