Fixed Config usage in ErrorPage