remove tree reference