Fix XHR response changes

@lingyan