clean up Registry