Fix dataexplorer set-setting-before-initialized issue