Fixed check EventEmitter instanceof events.EventEmitter