modify the socket.io