clean up html output