allow unregistering and reregistering states