Removing header and footer from error pages