fix selection of first shown issue