bug fix for BTree delet