[bug 1033476] Fixed promise.