dropdown and loop twice