clean tree samples