fixed typo (wrong XHR status code)