Fix bug with empty section