Ref #2475 : fix method call