corrected Safari XHR request