fixing bug with older config files.