fix session woring