deregister some stuff to clean up head