fix bad footnotes position