reenable dereferencing and garbage collection