fixes in TriTyperdata

closed #141
Merge pull request #143 from Bonder-MJ/master

fixes in TriTyperdata