avoid NPE on binary search hit