adding network error alert