bug fix: setChecked is not defined