fix to ConfigManager