Fixes path to error page.