fixed the socket.io error