fix bug for selected in multipleselect