ensure variant has a name when it has properties