fixes issue where remove was never happening for registry...