fixed typo in class definition