make emitter get better html output