Fix promises.