fixing html output