fix destroy method