make sure name is set