Wrong session var being set from ode code