fixing defect when there is no internet connection
fixing dunc tests