fixed broken html output