revert pref changes