fixed html bugs