fixed some minor things in bptree