modified multiselect parsing