[refac] update the name of the union type so it won't collide with the structure