fixed the socket emit nameResult object