Removed typo (twice ReportError call)