cleanup
bugfix: clicking on leaf node of tree