handle the config error