Fix NameError of ConfigError