workaround for error that footnotes cannot be found some times