fixed teleport bug - hopefully!