fix bug in destroy
text book