dijkstra does not work