fixed promise.xhr status