remove template footer from error-pages