yet another db_prefs patch