fixed initFromSettingsJSON