fixes errors and footnotes, closes #21