cleaning up the HTML