Fix modify empty section

recommended to review per commit.
If there is a simple solution, we better fix it for SLE 12