fix bug binary search tree