fix selecting items