use the closest hit from the index search and not the first one