emitter cleanup