Fix bug in NewVariant (Val not always initialized)