remove from the tail