remove broken HTML parsing code