better footnote support