fixed html nesting