null protection of settings + checkSettingsValues()