bugfix

minor typo and updating num_lines