fixing vardiac template Registry
Registry template and RegistryWithPred template