Fixed improper use of ConfigManager()