fixes for tree producer