Fixed crash if section is nil