fixed the tree loading with a callback