updated tnt library and apply fix for class change