Fix.session id generation