fixed issues with union_packed.sv