some modified of HtmlParser