traitvalue now working smooth