fixed reported line number offset by one