fixed bug in uniono