fixed the delete issue with unmapped sections.