added unregistering again