fixing up the htmls