fix broken promise
Actually fix the promise call