fix a typo in a class