hai notato che c'è uno spazio nel selectedIndex?