Fix insert section

Fix inserting sections