clean the html output