fix selected index without search li