[minor] Emitting `open`
[fix] Corrected the incoming/outgoing emit