validate registry on construction