[fix union] fix segfault
{fix union] styling