Fixing check_settings.