fixed wrong hostname lookup