fixed argument for setPreference