edit footnote and ref