destroy the list