Fixed wrong foreign function name