refactor complete-setting
more for setting
formant code