fix footnote issues