fix wrong parameter for be_emit_char