Corect two functions, in shortest path algorithm