fix event emitter
fix event emitter