fixes introduced bug where error produced when clicking the 'Select >>' button