change emitter to component/emitter