Fix line number reporting