fixing the numbering labels issue