add default-setting for safemode