change destroy behaviour