bug fix in the setting dialog