session was crashing fixed