fix the checking bug of TBset button.