fix an issue where settings are not memorized