Intercept 404 errors