fix session rename error