fixed socket.io connection