Fixed session id setting