Jaguar resolving a software glitch that affected its cars in Santiago was key to Mitch Evans dominating the Mexico City E-Prix, according to Formula E team director James Barclay.
Two-time FE race winner Evans was an erstwhile leader of the previous race in Santiago before dropping to fourth on the road - though he eventually claimed a podium when Mercedes driver Nyck de Vries received a penalty.
After passing polesitter Andre Lotterer into Turn 1, Evans had no such pace decline in the Mexican capital.
He led by up to seven seconds, although backed off to consolidate the win over the DS Techeetah of Antonio Felix da Costa by 4.271s, in what was heralded as one of the most dominant displays ever in FE.
Barclay said the team had worked to fix a software issue that cost victory in Santiago.
"After the show in Santiago we were hard at work already with where we felt we needed to improve, analysing where we had issues," he told Autosport.
"For us it was that we had fundamentally a software glitch in Santiago.
"It was about addressing that and making sure that didn't happen again."
Evans was critical of the team's Santiago showing over radio, saying "we've got some serious work to do, guys. That was an extremely poor performance".
When asked if there had a been a noticeable change in Evans's demeanour in the run up to the Mexico race, Barclay said: "The reality is when you you're capable of more and something holds you back, it's frustrating.
"That's what you saw from us all in Santiago.
"Mitch is naturally one of the quickest guys in this championship and we've now seen his race performances are phenomenal."
Speaking about Jaguar's turnaround, Evans added: "After Santiago we were all scratching our heads and had our tail between our legs.
"It's just a huge testament to the team - they found all the issues we had in Santiago, which was quite a lot.
"It was nice to also show that we can resolve issues and show the pace that we do have - not just over one lap."
After qualifying just 0.063s adrift of Lotterer, Evans said Jaguar is now "one of the benchmarks" in qualifying.
But he admitted the team still had a deficit in race pace to the DS Techeetahs of da Costa and reigning champion Jean-Eric Vergne.
When asked by Autosport whether Jaguar was now a season-long title threat, Evans said: "The last two events, I think, have proved that.
"Both tracks are very different so it was nice to be competitive today over one lap.
"But we were still behind the DS [cars in the race].
"Antonio was running at least 2% more [useable energy] than me during the race, which is a lot so I'd be worried if I was starting next to him.
"I would say they are the benchmark in the race for sure and we are one of the benchmarks over one lap."