fix configuration validation