bugfix init from telnet
bugfix session init from hash