Bug fix about connection tree