last line with data was repeated if there were more lines without data