bug fixes in treestore.py
bug fixes in treestore.py