fix socket production