chore(pref): remove dead code