typo
move prefs into the base class