fix selectedIndex& cell