fix old config