Fix typo in method override