fix flush_emit bug
v0.0.2