removing unregister