config file error fix