(CNN) -- Andy Murray shrugged off a nagging ankle worry as he recovered from a set down to beat resilient rival Sergiy Stakhovsky in the first round of the Dubai Tennis Championships.
Murray showed signs of an ankle problem as he moved into second round of the Dubai tournament.
Murray experienced the problem when winning the recent Rotterdam title -- but in the end it was Stakhovsky who quit Monday's contest with an ankle injury when trailing 6-7 6-3 5-3.
The Ukrainian needed lengthy treatment at 4-4 in the first set when he had his ankle strapped following ice treatment -- but he still gave Murray a real scare before calling it a day after two hours and two minutes.
Stakhovsky returned to the court 40-15 up, winning the next point to end a run of three successive breaks of serve and go 5-4 ahead. He proved just as strong in the tie-break to take it 7-3.
Murray was clearly frustrated and dropped his serve in the opening game of the second set -- a blow that forced the second seed to step up a gear.
The Briton broke back immediately and established a 4-1 lead on the way to taking the set, but was hobbling as he returned to his chair.
Murray later admitted to feeling some discomfort from around the 90-minute mark. But it did not stop him from breaking in the opening game of the decider and going on to face either Rainer Schuettler or Arnaud Clement.
Fifth-seeded Croatian Marin Cilic also needed three sets to see off Janko Tipsarevic of Serbia 2-6 7-6 6-4.
But there was no such luck for compatriots Ivo Karlovic (7), who succumbed 7-6 4-6 7-6 against Swiss Marco Chiudinelli, and Ivan Ljubicic who went down 3-6 6-2 6-1 against fourth-seeded David Ferrer.