fix broken html in table