BugFix emit call function