fixed lines parsing issue