fix a bug with empty value in SettingBehavior