cleanup footnotes