Fix bug with open of html.