Fix typo in method