fix line number generate