Properly strip footer

Closes #7