fix reference to oldsettings