Fixed destroyPromise