fixed the improvemnt for select_as_multiple