Fix error on page when the route does not exist (404 error)