remove the dependency of model-config