fixed a bug in producer treecontroller