fix selection bug of first item