delete item bug fix