improvements to treecast reliability