Fixed a bug that affected the temp pref list