Bugfix: header/footer was reversed