fixed the load d3 problem in the PathFinder class, now it works