fix getting selection from wrong list