fixed error in html output