fixes error page routing for #45