destroy a list