fix model
add ConfigManager