Fixed session id issue