Making the error page self-sufficient