Fix session usage.