fixing typo in method invocation