INDIAN WELLS, California — Rafa Nadal and Roger Federer stayed on track for a mouth-watering quarterfinal showdown at the BNP Paribas Open after they both advanced to the last 16 Monday. Spaniard Nadal, twice champion at Indian Wells, was gifted his spot when Argentina's Leonardo Mayer withdrew with a back injury before the start of their third-round match. Federer, a four-time winner of the ATP Masters 1000 event, had minor back problems of his own but progressed with a commanding 6-3, 6-1 victory over Croatia's Ivan Dodig in a contest lasting just 61 minutes. Federer and Nadal last met a year ago, also at Indian Wells, when the Swiss won a semifinal battle 6-3, 6-4. Federer tweaked his back during the latter stages of his match against Dodig, but with a rest day Tuesday he was not worried that it could affect his last 16 match Wednesday. “It's not the first time it's happened in my career, so, I know how to deal with it,” said the world No. 2. Federer will next meet compatriot Stanislas Wawrinka, who beat Australian veteran Lleyton Hewitt 6-4, 7-5 in an evening match at the Indian Wells Tennis Garden. “I'm walking fine, I have a day off. Everything is all right,” added Federer. “It's happened during Grand Slams, during tournaments, in practice. “It's just something you learn to deal with. And as long as I keep on playing, it's all right. I also know I have a longer break to recover so, from that standpoint, I'm not worried at all.” World No. 5 Nadal, who is competing in his first tournament on a hardcourt surface in almost a year, was saddened when he learned that Mayer had withdrawn. “That's bad news, for sure, for the fans and for Mayer, especially,” said the Spaniard, who will next face Latvian Ernests Gulbis. “I talked with him. It seemed like it's nothing very, very bad. “Just a typical back problem, beginning when he was warming up his serve. The physio says maybe in four days, five days he will be ready. “That's the most important thing, that nothing is serious,” said the Spaniard, who was sidelined for seven months last year by a left knee injury. Though Nadal has beaten Gulbis in their four previous meetings, the Latvian looked forward to challenging the Spaniard after winning his 13th consecutive match Monday. “When was the last time I won 13 matches in a row?” 67th-ranked Gulbis said after fighting back to beat Italy's Andreas Seppi 5-7, 6-3, 6-4. “Of course he's a great player, but I honestly believe that if I play my best game I can beat him. “I like to play against him because his ball and his heavy spin, it's good for my timing. I don't like it when the opponents hit flat, deep balls.” In other matches, sixth-seeded Czech Tomas Berdych eased past Germany's Florian Mayer 6-4, 6-1, while 10th-seeded Frenchman Richard Gasquet swept aside Poland's Jerzy Janowicz 6-1, 6-4. — Reuters