Pagetreeview destructor fix