Fixed HTML nesting issue