Roger Federer had to work a bit harder than expected Sunday night before beating Victor Hanescu 6-3, 6-7 (5), 6-1 in the second round of the BNP Paribas Open. Hanescu won a set from Federer for the first time in their five meetings. But the challenge the Romanian mounted against the world's top-ranked player by winning the tiebreaker was eroded quickly in the final set. Federer, a two-time champion of this event, lost five points while winning the first three games of the final set and just 13 points in all in the 23-minute set. The Swiss star had 10 aces and hit 62 winners to offset 39 unforced errors. He will face No. 27 seed Marcos Baghdatis of Cypress in the third round. Seventh-seeded Andy Roddick, Federer's potential opponent in the quarterfinals, beat qualifier Lu Yen-hsun of Taiwan 6-4, 6-4 later Sunday night. Fourth-seeded Andy Murray, losing finalist here last year, beat Andreas Seppi 6-4, 6-4 in another second round match. Murray was visibly unhappy with his play throughout the 86-minute match, repeatedly gesturing and talking to himself after errant shots. Afterward the 22-year-old Scot headed for the practice court. The women's tournament that began with six former champions in the field is down to two following Zheng Jie's 6-3, 2-6, 6-3 win over Maria Sharapova, the 2006 winner. The 10th-seeded Sharapova lost the last four games after getting treatment on her right elbow while leading, 3-2, and preparing to serve in the third set. Sharapova, who said she had trouble extending the elbow, had 14 double faults and dropped serve seven times. Zheng, a semifinalist at the Australian Open in January, dropped six service games. Second-seeded Caroline Wozniacki of Denmark beat Maria Kirilenko of Russia, 6-0, 6-3. Wozniacki, 19, is the tournament favorite following top-seeded Svetlana Kuznetsova's loss to Carla Suarez Navarro Saturday. The men's field lost No. 5 Nikolay Davydenko of Russia, who withdrew after tests revealed he had a fracture in his left wrist. He is expected to be sidelined for at least four weeks. The beneficiary of Davydenko's misfortune is No. 29 seed Viktor Troicki of Serbia, who has played just one game but is in the fourth round. No. 6 Robin Soderling of Sweden and No. 9 Jo-Wilfried Tsonga of France moved into the third round, but No. 12 Gael Monfils of France was beaten 1-6, 6-2, 6-3 by Simon Gruel of Germany. American James Blake beat No. 13 David Ferrer of Spain, 6-1, 6-4. In early third-round women's matches, No. 4 Elena Dementieva was a 6-4, 6-2 winner over Kirtsen Flipkens of Belgium; and No. 5 Agnieszka Radwanska was a 6-1, 6-0 winner over Gisela Dulko, the Argentine who beat Justine Henin in the second round.