Fix error reports in console