fix the bug related to line number