added default union to validator