fix section numbering method