save union values and restore them