finish the backspace delete item logic.