Correct few bugs. Especially the Bot one (no session key)