prevent exceptions due to the session snapshot is reset