fix the loading of tree not to affect main screen