bug correction

corrected bug that did not restore previously saved settings correctly