Bugfix of footer and header