fixing union example