Fixed socket.io error