fix broken HTML