Fixed bad arguments on socket.emit().