fixed teleport issue