repair config error