Fix the sub section detector.