Fix: generate external function call

missing generation for external function call.