Fixing the promise.