Fixed bug with reloading connection in tree