fix footnote and links