fix the dependency of config