fix section nesting