tree loading bug fixed