fix teleport issue