fixed bug in treepath view