clean up the footnotes