remove DB_PREF usage