fix Teleport from "the end"