Fix union header

This is a fix which was previously included in the PR #235.
Good to know, I'll close this PR anyway because other things are missing.
I'll open another one.