Fixed external function name generation