fixed the styling of nesting