get build errors to display correctly