removing event emitter