footer optimizations

Closes #407