* fixed bug with service unregistration