fixed html bugs.