adjustment to illegal transitive dependency check