Fix error on adding variant name. closes #82