debugging prefs