add line numbers to error lines