Remove console.log from tree_directive