added check and delete sections to the migrator