corrected probs in get_next_line