removing random fail in binary search