SOLVED Bug: NAME was used as tableNAME and elementNAME while reading twiss

SOLVED Bug: NAME was used as tableNAME and elementNAME while reading twiss

e.g.
$ python
>>> import metaclass2
>>> a = metaclass2.twiss2("twiss")
>>> a.elems[0].TNAME
'TWISS'
>>> a.elems[0].NAME
\the_corresponding_element_name

before, TNAME did not exist and 'TWISS' was always returned as elementNAME.