Fix Promise surrogate