remove redundant call to get_line