fix bug in to_settings_hash