improve parseAjaxError