clean the html code