replaced host to hostname