added defined check for select_multiple