fixed some prefs