fixed the telnet issue