resolve the config error