nbr_sections calculate wrong