revert db prefs