Fixes "Preferences" error