MIAMI -- Kelly Olynyk scored 25 points, including a big layup with 39 seconds left, and Goran Dragic added 24 as the Miami Heat held off the Detroit Pistons 111-104 on Wednesday night.
Olynyk finished with 13 rebounds and Dragic had 13 assists for the Heat, who are three games over .500 for the first time since April 2016.
Josh Richardson scored 22 for Miami, which shot 51 percent and outscored the Pistons 51-27 from 3-point range. James Johnson scored 16, Wayne Ellington had 12 and Hassan Whiteside added 10 for the Heat.
Tobias Harris led a balanced Detroit effort with 19.