minor PreferenceHandler bug fixed