emitOn api change