extra check for unregister