handle error then cant resolve host