fixed bug in tree parent click