fix inheritence of emitter