When section is empty, it crashes, I need to add a check
When section is empty, it crashes, I need to add a check