preserves line numbers in error messages