removed err dijkstra