Fix error showing line numbers in plain text