unregistering unused stuff