fix socket version