Fixed some html bugs