fixing handling of old configuration files