fix disable_settings_bug