updated sectionmanager and fixed bug