remove unused tree stuff