fix checkable widgets for booleans