fix emitter race condition