fixed server call returning XHR