Fix Promise object