cleaning the HTML