fixed unregister for singleton => instance relations