fix section creation bug