fix settings.selfVersion when ss.storage.settings are undefined