fix bug which fail to get html source in get_html()