bugfix: return default value when sessionSaving is disabled