fix how configuration is done on tree