catch HTTP 404 errors.