- fixed bug where has_lines was only saving a single line

