fix bug on updateComboBox