fixing socket server