Quick fixed the Sortest Path method