check box bug fix