bugfix for https://github.com/Mariuxtheone/Teleport/issues/3