fix socket server