cleaning up html output