tree error