fixing header/footer formatting to be MELPA-friendly