delete x at tail