correct the responce of the promise
fix destroy