fix footnotes compatibility