Fix footnote numbering