fix section close