fix sidebar tree