fix chain session