Fixing T_TRAIT problem

Doing work on master branch becasue i can´t see any development brach in Peyote.

Greets