fixed teleporting.