fixed first time handling of prefs with new version