better handle 404 errors