fix tnmt creation bug