[fix union] unit test pass