Revert "fixed Dijkstra's"

This reverts commit 0012203c94e15498ebe9d80b09337ff3dd4d102c.