fix HTML nesting issue