fixed name error in find_link_lengths