BTree fixed and working perfectly