Fixed crash with network error.