check numberofsections anomaly