fix typo in base class