Fixed union bug