minor changes in unloadSections()