Fixed that the function name is set even though it is mac definition.