fix session time issue