correct the behavior of combobox for latex source input