fixed the change in CURRENT_LINE in new_line_insertion in outer else case