was not calling event emitter's constructor