fix typo in class definition