Fix resources.prefs