Typo fix in promises.