The NBA needs to issue challenges to the coaches.
If a coach wants to question a poor call, it's then reviewed on film by an independent source. Unfortunately, it will slow the game down.
Of all the major sports, the NBA has the worst officiating and it's getting worse and worse every year.