Fixing off-by-one line numbers (start counting from 1)