add some print to dijkstra