Fixed error if number of sections=0