Trying to solve socket.io issue