Correct variable in union()