fixed wrong footnote numbering