fixed line numbering issues