Repair read config file