The Dallas Mavericks exacted a bit of revenge in their last game. Now they will focus on trying to extend their winning streak when they visit the Orlando Magic on Tuesday.

Dallas beat Miami 99-93 on Sunday in a matchup of last year's NBA finalists. Jerry Stackhouse scored 16 of his 23 points in the fourth quarter as the Mavericks (34-8) avenged their loss in six games to the Heat in the championship round and also extended their winning streak to seven games.

"We just had to keep grinding," Stackhouse said. "It was a great game which had some great players making great plays."

The Mavericks, who have the NBA's best record, have won 20 of their last 21 games - the only loss coming to the Lakers 101-98 on Jan. 7. Dallas shot only 4-of-16 from 3-point range against the Heat and nearly blew a 13-point second-half lead, but held on to win its fourth straight road game.

"It wasn't perfect. It wasn't great," Dallas coach Avery Johnson said. "But a road game in our league, especially against the world champions, you can't discount that. We will take it."

This is the middle game of a three-game trip for Dallas, which has won nine of its last 10 away from home. The Mavericks, a league-best 15-5 on the road, conclude the trip Thursday at Chicago.

Stackhouse, who missed six games last month after spraining his left ankle, matched his season-high against the Heat and has scored in double-figures in three consecutive games.

"Jerry looked very good for us," Johnson said. "He has been looking strong for us ever since we have had him on a minute restriction. We don't win the game if he doesn't come of the bench and do what he did tonight."

Grant Hill returned after missing two games with a dislocated pinky and scored 22 points to help Orlando (23-19) snap a season-high five-game slide with a 90-79 victory over Cleveland on Monday night.

After the Cavaliers cut into Orlando's 14-point lead in the second quarter, Magic coach Brian Hill busted his clipboard during a timeout, gathering his team's attention. Orlando extended its lead to 16 by halftime and maintained a double-digit lead throughout the second half.

"He's a fiery guy and sometimes you have to do that as a coach," Grant Hill said. "Coaching is like parenting, sometimes there's six inches between a pat on the back and a pat on the butt. This was one of those times when he had to do a little patting on the butt."

The Magic have been a streaky team over the last month. They followed a four-game losing streak with five consecutive wins before ending their latest skid.

Dwight Howard added 18 points and 13 rebounds while playing in his 206th consecutive game, one shy of the team record held by Darrell Armstrong from Feb. 5, 1999-April 3, 2001. Howard hasn't missed a game since he was selected out of high school as the first overall pick in the 2004 NBA draft.

Orlando is 14-7 at home and had won four straight there before a 114-93 loss to Washington on Friday.

Dallas has won five of the last seven meetings with Orlando. The only two losses came in its last two visits to Orlando, including a 108-99 defeat on March 31.

Orlando is 14-3 all-time at home against the Mavericks.

Copyright 2006 by STATS LLC and Associated Press. Any commercial use or distribution without the express written consent of STATS LLC and Associated Press is strictly prohibited