fixed teleport bug in generatePaths