Fix bug: download error, improve parse error report.