fix sessionbuilder