selectedIndex set to zero