Fix reject promise.