fixes #624 curry union