fixed parser, now catches all footnotes