Fix debugging issue with Teleport