Fix bug with empty section
Merge pull request #22 from wendycan/master

Fix bug with empty section