fix a call to method (not a function)