bug fix clicking on trsh icon without any selected items