cleaning the html gaps, spaces