fixed formatting of html output