Fixed the fix for path finding