cleanup prefs a little