Config repair