fix typo of defined type resource needing to be unique