repair config