- fixed bug in destroy method