lackac's fix for missing session in descriptor.Store