cleanup old dependency issues and fix teleport bug reported with previous build