compatible with old config files.