removing advanced_tree configuration variable. code is moved to templates