[fix] fixes #2. related to #16. delete should be destroy.