fix the doTunnel method bug….