fixed binary search insert crash on empty list