Wigan recovered from a shaky start to beat Wakefield and reach the Carnegie Challenge Cup quarter-finals.
The Warriors were 10-0 down after only six minutes following tries from Jason Demetriou and Tevita Leo-Latu.
But they fought back and tries by George Carmont, Michael McIlorum and Cameron Phelps put them in control by the break.
Tony Martin crossed to give Wakefield hope but late tries by Stuart Fielden and Sam Tomkins sealed the win.
Wigan and coach Brian Noble will be keen to forget the opening 10 minutes of the game with the blustery conditions causing problems for the visitors.
Noble delighted to win 'uphill fight'
Right from the start, Thomas Leuluai fumbled Danny Brough's kick-off to force a Wigan goal-line dropout.
Moments later, a mistake by Fielden gifted possession to Wakefield and the ball went wide to Demetriou who beat off the challenge of Carmont to cross.
Then, Leo-Latu was given too much space by the Wigan defence and he made the most of the gap to go over with Brough adding the extras.
Wigan looked to have got on to the scoreboard after nine minutes when Pat Richards crossed but the try was chalked off by the video referee who deemed the ball had been stripped from a Wakefield player in the build-up
But they finally scored after 15 minutes when a long pass by Sean O'Loughlin bounced in front of Richards and he passed infield to Carmont to score although Richards missed the extras.
The try gave Wigan a lift and they pulled level on 25 minutes when a barnstorming burst by Gareth Hock was supported by Leuluai for hooker McIlorum to go over under the sticks.
This page is best viewed in an up-to-date web browser with style sheets (CSS) enabled. While you will be able to view the content of this page in your current browser, you will not be able to get the full visual experience. Please consider upgrading your browser software or enabling style sheets (CSS) if you are able to do so.