delete old emitter
support struct