minor utility on find_line