Fixed typo in union domain
fixed ambiguity warnings