working better if network error