session commit fixes