make sure name is unique