reworded feature, added extra steps to ensure the header is present when on the error page