clean up network errors