fix issue making native functions identifiable