Pref cleanup