fix numbering by taking out stupid spans