cleanup registry