Bug fix method destroy.