fixing typo in method call