fixes that init/deinit for unions are not inlined