check footnotes exists before checking length