fix #19 issue due to network unavailability