Fix modify empty section

recommended to review per commit.