Fix emit misuse