Fix old config format