fix validate_settings