fix session variable