fixing the issue related to data type for multiselect