fix socket host