converted some output errors to console errors