fix issue with invalid initial pref