fix session nil assignment which create error