fix checkable toolbox bug