fix error reporting to show only one source line