delete item and delete tab