ensure that there's an item to select