Fixed get-closest