fixed crash in settingControl