fix selecting a list item